package com.leo.foodmaster.admin.system.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * <p>
 * 登录用户信息
 * </p>
 *
 * @author ：Leo
 * @since ：2021-06-21 11:46
 */
@Data
@ApiModel("登录用户信息")
public class UserBean {
    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("用户名称")
    private String name;

    @ApiModelProperty("用户账号")
    private String account;

    @ApiModelProperty("用户头像")
    private String avatar;

    @ApiModelProperty("机构Id")
    private Long organId;

    @ApiModelProperty("机构名称")
    private String organName;

    @ApiModelProperty("机构类型")
    private String organType;

    @ApiModelProperty("机构类型")
    private List<String> foodSupplyType;

    @ApiModelProperty("用户权限")
    private String roles;
}
